package jpa;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class RandomHandler implements IRequestHandler {

	@Override
	public void handleRequest(HttpServletRequest request,
			HttpServletResponse response, IStatelessBean stateless,
			IStatefulBean stateful, ServletContext sc) throws ServletException, IOException 
	{
		RequestDispatcher rd = request.getRequestDispatcher("random.jsp");
        rd.forward(request, response);

	}

}
